//
//  UIView+Extension.swift
//  mapbox
//
//  Created by linzaifei on 2023/8/8.
//

import Foundation
import UIKit

extension UIView {
    func addRadius(radius:CGFloat){
        self.layer.cornerRadius = radius;
        self.layer.masksToBounds = true
    }
    
   static func feedback(){
//       AudioServicesPlaySystemSound(1519)
       let impact = UIImpactFeedbackGenerator.init(style: .heavy)
        impact.impactOccurred()
    }
    
}
